﻿
namespace Eswat.Razor
{
	/// <summary>
	/// Testing template for a Razor test.
	/// </summary>
	/// <typeparam name="T">The type of the test target.</typeparam>

	public class RazorTestTemplate<T> : RazorEngine.Templating.TemplateBase<T>
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="RazorTestTemplate&lt;T&gt;"/> class.
		/// </summary>
		public RazorTestTemplate()
		{
			this.Services = DefaultTestServiceAccessor.Instance;
		}

		/// <summary>
		/// Provides access to all available test services.
		/// </summary>
		public dynamic Services { get; private set; }
	}
}
